﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controlsTheGame="clr-namespace:Waaahsabi.Controls.TheGame;assembly=Waaahsabi.Controls.TheGame"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="TheGameClient.RootControl"
    mc:Ignorable="d"
    d:DesignHeight="696" d:DesignWidth="910.5" Background="Black">
	<UserControl.Resources>
		<Storyboard x:Name="RebootDistortion">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(TimedDistortEffect.Frequency)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(TimedDistortEffect.Shift)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(TimedDistortEffect.WaveStrength)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="-0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="-0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.SkewX)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="-77">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="RebootDistortionBack">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(TimedDistortEffect.Frequency)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="30"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(TimedDistortEffect.Shift)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(TimedDistortEffect.WaveStrength)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="-0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.SkewX)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.SkewY)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ContentBorder">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="WaitAnim">
			<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextBlock.Text)" Storyboard.TargetName="textBlock">
				<DiscreteObjectKeyFrame KeyTime="0"        Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed..."/>
				<DiscreteObjectKeyFrame KeyTime="0:0:10"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete."/>
				<DiscreteObjectKeyFrame KeyTime="0:0:10.5" Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:12"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:12.5" Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:13"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:14"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:15"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:16"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:17"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done.&#010;&#009;Mounting file systems..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:18"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done.&#010;&#009;Mounting file systems...Done."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:19"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done.&#010;&#009;Mounting file systems...Done.&#010;&#009;Activating security systems..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:20"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done.&#010;&#009;Mounting file systems...Done.&#010;&#009;Activating security systems...Done.&#010;&#009;Connecting to network..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:24"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done.&#010;&#009;Mounting file systems...Done.&#010;&#009;Activating security systems...Done.&#010;&#009;Connecting to network...Done."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:25"   Value="Connection closed for hardware reconfiguration. Please wait until hardware switchover is completed...&#010;Hardware switchover complete.&#010;New system powering up...Done.&#010;Loading Operating System....&#010;&#009;Loading Kernel...Done.&#010;&#009;Loading devices...Done.&#010;&#009;Mounting file systems...Done.&#010;&#009;Activating security systems...Done.&#010;&#009;Connecting to network...Done.&#010;Logging in..."/>
                <DiscreteObjectKeyFrame KeyTime="0:0:25.2" Value=""/>
            </ObjectAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" Background="Black">
        <Grid.Effect>
    		<controlsTheGame:TimedDistortEffect Frequency="0"/>
    	</Grid.Effect>
    	<TextBlock x:Name="textBlock" TextWrapping="Wrap" FontFamily="Fonts/Fonts.zip#Bavaria Regular" FontSize="8" Foreground="White" Margin="10">
    		<TextBlock.Effect>
    			<DropShadowEffect Color="White" Direction="0" ShadowDepth="2" BlurRadius="3"/>
    		</TextBlock.Effect>
    	</TextBlock>
    	<Border x:Name="ContentBorder" BorderBrush="{x:Null}" Background="#FFC45757" RenderTransformOrigin="0.5,0.5" d:IsHidden="True">
    		<Border.RenderTransform>
    			<CompositeTransform/>
    		</Border.RenderTransform>
    	</Border>
    </Grid>
</UserControl>
